package com.njupt.yanglonglong.report.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @Author yangllong
 * @Date 2021/4/23 19:15
 */
@Data
@TableName("r_experiment")
public class Experiment {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("exper_id")
    private String experId;
    @TableField("course_id")
    private String courseId;
    @TableField("exper_name")
    private String experName;
    @TableField("start_time")
    private String startTime;
    @TableField("end_time")
    private String endTime;
    //    表中没有teacherId
//    @TableField("teacher_id")
//    private String teacherId;
    @TableField("is_team")
    private Integer isTeam;
    @TableField("can_apply")
    private Integer canApply;
    @TableField("guide_url")
    private String guideUrl;
    @TableField("difficuty")
    private Integer difficuty;
    // 解决字段为空不更新
    @TableField(value = "template_name", fill = FieldFill.UPDATE)
    private String templateName;
    @TableField(value = "report_template", fill = FieldFill.UPDATE)
    private String reportTemplate;
    @TableField("introduction")
    private String introduction;
}
